package com.model.proxy
{
	import com.model.vo.ComponentStateVO;

	import org.puremvc.as3.multicore.interfaces.IProxy;
	import org.puremvc.as3.multicore.patterns.proxy.Proxy;

	public class ComponentStateProxy extends Proxy implements IProxy
	{
		public static const NAME:String="CompoStateProxy";

		public function ComponentStateProxy()
		{
			super(NAME, new ComponentStateVO());
		}

		public function get componentStateVO():ComponentStateVO
		{
			return data as ComponentStateVO;
		}

		public function set switchTo(s:String):void
		{
			componentStateVO.switchTo=s;
		}

		public function get switchTo():String
		{
			return componentStateVO.switchTo;
		}
	}
}